#!/bin/sh
currDate=`date +%Y%m%d`
/opt/lagou/servers/hive-2.3.7/bin/hive -e "use azkaban_test;load data inpath '/user_clicks/${currDate}/*' OVERWRITE INTO TABLE user_clicks PARTITION (dt='${currDate}');"
echo '数据加载'
